/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package TheGUIBits;

import java.awt.Component;
import javax.swing.JLabel;
import javax.swing.JList;
import javax.swing.ListCellRenderer;

/**
 *
 * @author Kyle
 */
public class BoringCellRenderer extends JLabel implements ListCellRenderer
{
  
   @Override
   public Component getListCellRendererComponent(JList list, Object value, int index, boolean isSelected, boolean cellHasFocus)
   {
      setText(value.toString());
      setHorizontalAlignment(CENTER);
      return this;
      
   }

}
